package com.hualan.dao;

import com.hualan.bean.PanghuCommunity;
import java.util.List;

public interface CommunityListDao {



    //新增
    int addCommunity(PanghuCommunity panghuCommunity);
    //2.根据id修改
    int updateCommunity(PanghuCommunity panghuCommunity);
    //3.根据id删除
    int deleteCommunityById(int id);
    //4.查询总数
    Long selectAllCommunityCount();
    //5.按照分页查询 page:页码; size:每页条数
    public List<PanghuCommunity> communityList(String pageNum, String pageSize, String communityName,  String startTime, String endTime) ;
}
